﻿<?php
defined('_JEXEC') or die;
?>
<div id="seriesList">
<h2><?php echo 'Thème '. $this->series[0]->code .' : '. $this->series[0]->theme ; ?></h2>
<?php
	foreach($this->series as $serie){
	$nbrSS = count($serie->sseries);
?>
<div class="rowBox">
	<div class="imgCol"><img src="<?php echo JURI::root() ; ?>components/com_glycophile/asset/images/<?php echo $serie->id_pays.'/'.$serie->code.'/'.$serie->id.'.gif' ; ?>"  alt="<?php echo $serie->serie; ?>"/></div>
	<div class="titleCol"><h2><?php echo $serie->serie; ?></h2></div>
	<div class="sousSeriesBox">
		<?php foreach($serie->sseries as $sserie){ ?>
		<div class="sousSeriesRow">
			<div class="sucresCol">[...]</div>
			<div class="variantesCol"><?php echo $sserie->sous_serie; ?></div>
			<div class="possedeCol">[...]</div>
		</div>
		<?php } ?>
	</div>
</div>
<?php //  echo '<pre>'; print_r($serie); echo '</pre>'; ?>
<?php } ?>
</div>